package com.youxue.teachin.splash;

import android.os.Parcel;

/**
 * 在此写用途
 *
 * @author: zhiwei
 * @date: 2017-10-08 15:43
 * @version: 9.1.0
 */
public class TabBarVO implements android.os.Parcelable {
    /**
     * 发现
     */
    public String article;
    /**
     * 游客
     */
    public String goodCourse;
    /**
     * 摘录
     */
    public String collect;
    /**
     * 教学
     */
    public String bookInfo;

    @Override
    public int describeContents() { return 0; }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.article);
        dest.writeString(this.goodCourse);
        dest.writeString(this.collect);
        dest.writeString(this.bookInfo);
    }

    public TabBarVO() {}

    protected TabBarVO(Parcel in) {
        this.article = in.readString();
        this.goodCourse = in.readString();
        this.collect = in.readString();
        this.bookInfo = in.readString();
    }

    public static final Creator<TabBarVO> CREATOR = new Creator<TabBarVO>() {
        @Override
        public TabBarVO createFromParcel(Parcel source) {return new TabBarVO(source);}

        @Override
        public TabBarVO[] newArray(int size) {return new TabBarVO[size];}
    };
}
